<?php

namespace app\kernel\service;

use app\kernel\crontab\CrontabProcess;
use app\kernel\Process;

class CrontabService extends Service {

    public function register () {

        /**
         * @var CrontabProcess $crontab
         */
        $crontab = $this->app->make(CrontabProcess::class, [$this->app]);
        if (!$crontab instanceof Process) {
            return false;
        }
    }

}